#ifndef BLOCK_H_
#define BLOCK_H_

#include <SFML/Graphics.hpp>
#include <string>
#include <iostream>

using namespace std;
using namespace sf;

class Block {
	public:
		Block(int x = 0, int y = 0, string img = "", bool wall = false, bool act = false, bool rencontrePossible = false);
		int		getPositionX();
		int		getPositionY();
		Image	getImage();
		bool	isActive();
		bool	isBlocked();
		bool    isPossible();

		void	setImage(string img);
		void	setActive();
		void	setCoords(int x, int y);
		void	setBlocked();
		void	setUnblocked();
		void    setPnj(bool b);
		bool    getPnj();
		void    setRencontre(bool b);



	private:
		bool	active;
		int		x;
		int		y;
		Image	imgBlock;
		bool	wall;
		bool    pnj;
		bool    rencontrePossible;
};

#endif
